cal-hebrew fix for diary-hebrew-rosh-hodesh.
authorGlenn Morris <rgm@gnu.org>
Tue, 12 Apr 2011 04:02:38 +0000 (21:02 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 12 Apr 2011 04:02:38 +0000 (21:02 -0700)
commit2151fc2d7a70ac174e492e0c0fd8f23626c82980
tree3e58e738ad1e1a5fb08e3c1423306ffa6dfaf4be
parent64f4e8d1cd683940e62e458de875945285b6312d
cal-hebrew fix for diary-hebrew-rosh-hodesh.

* lisp/calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
Don't try to cons a mark onto an empty element.

Recipe showing the problem:
~/diary:
&%%(diary-rosh-hodesh)
&%%(diary-parasha)

emacs -Q --eval "(progn (add-hook 'diary-nongregorian-listing-hook
   'diary-hebrew-list-entries) (setq cal-tex-diary t))" -f calendar

Move to Jan 2011, press `t m', latex the generated file.

[Port to 23.4]
lisp/ChangeLog
lisp/calendar/cal-hebrew.el